<div class="layuimini-main" xmlns:th="http://www.w3.org/1999/xhtml">
<style>
    .layuimini-form .layui-form-item label{ line-height: 40px; text-align: right; padding-right: 10px;}
</style>
    <div class="layui-form layuimini-form">
        <input type="hidden" id="id" name="id" th:value="${id}">
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">关联相册</label>
            <div class="layui-col-sm10">
                <input type="text" id="photoAlbumName" lay-verify="required" lay-reqtext="请选择相册" placeholder="请选择相册" class="layui-input" disabled style="width: 300px;display: inline-block;">
                <input type="hidden" id="photoAlbumId" name="photoAlbumId" class="layui-input">
                <button type="button" class="layui-btn layui-btn" id="photoAlbumBtn"><i class="fa fa-plus"></i> 选择相册</button>
            </div>
        </div>
        <div class="layui-form-item layui-row">
            <label class="layui-col-sm2 required">上传照片</label>
            <div class="layui-upload layui-col-sm10">
                <button type="button" class="layui-btn layui-btn-disabled" id="uploadPhotoBtn" disabled>多照片上传</button>
                <span style="color:red;font-size: 12px;margin-left: 10px;">提示：一次只能上传9张照片</span>
                <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                    预览图：
                    <div class="layui-upload-list" id="pre_photo"></div>
                </blockquote>
                <div class="layui-progress" lay-filter="photo-progress" lay-showPercent="true" style="margin-top: 25px;">
                    <div class="layui-progress-bar layui-bg-red" lay-percent="0/0" id="photo-progress"></div>
                </div>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: right;">
            <div>
                <button class="layui-btn layui-btn-normal" id="saveBtn">保存</button>
                <button class="layui-btn layui-btn-primary" id="closeBtn">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 导入js -->
<script type="text/javascript" src="/web/boPhoto/boPhoto_add.js"></script>